build executables with -fPIE, not -fPIC
authorDebian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
Fri, 17 Oct 2025 15:26:19 +0000 (11:26 -0400)
committerAaron M. Ucko <ucko@debian.org>
Fri, 17 Oct 2025 15:26:19 +0000 (11:26 -0400)
commita9ba47a0eb209ee2b9e71af8dfcf4c2c286da9dc
tree02f2652822ee28690fee89a29fbcc93117f02c34
parentbb54d16c09b51c26e443685f4223df3f984e4687
build executables with -fPIE, not -fPIC

* -fPIC is only useful for shared libraries; substitute -fPIE (along
   with -pie at link time) when building executables.

Author: Aaron M. Ucko <ucko@debian.org>
Last-Update: 2012-05-10

Gbp-Pq: Name use_pie_for_apps
c++/src/build-system/Makefile.app.in